	.file	"trans.c"
	.section	.rodata
.LC0:
	.string	"16\350\277\233\345\210\266\350\276\223\345\207\272\344\270\272\357\274\232"
.LC1:
	.string	"r"
.LC2:
	.string	"%4x"
	.text
	.globl	trans
	.type	trans, @function
trans:
.LFB2:
	.cfi_startproc
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%rdi, -24(%rbp)
	leaq	.LC0(%rip), %rdi
	call	puts@PLT
	movq	-24(%rbp), %rax
	leaq	.LC1(%rip), %rsi
	movq	%rax, %rdi
	call	fopen@PLT
	movq	%rax, -8(%rbp)
	movq	-8(%rbp), %rax
	movq	%rax, %rdi
	call	fgetc@PLT
	movb	%al, -9(%rbp)
	jmp	.L2
.L5:
	cmpb	$10, -9(%rbp)
	jne	.L3
	movl	$10, %edi
	call	putchar@PLT
	jmp	.L4
.L3:
	movsbl	-9(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rdi
	movl	$0, %eax
	call	printf@PLT
.L4:
	movq	-8(%rbp), %rax
	movq	%rax, %rdi
	call	fgetc@PLT
	movb	%al, -9(%rbp)
.L2:
	cmpb	$-1, -9(%rbp)
	jne	.L5
	movq	-8(%rbp), %rax
	movq	%rax, %rdi
	call	fclose@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	trans, .-trans
	.ident	"GCC: (Ubuntu 6.3.0-12ubuntu2) 6.3.0 20170406"
	.section	.note.GNU-stack,"",@progbits
